-
Home
-
Burst Statistics – Privacy-Friendly Analytics for WordPress
-
2.2.0 (latest)
-
Code
-
Classes
- Frontend_Statistics
Total Complexity |
105 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
779 |
Lines of code |
461 |
Logical lines of code |
285 |
Comment lines |
212 |
Methods |
16 |
Properties |
6 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
build_select_metrics() |
B |
40 |
20 |
59 |
get_date_range() |
B |
36 |
16 |
84 |
build_where_clause() |
A |
44 |
14 |
42 |
sanitize_filters() |
A |
47 |
12 |
35 |
generate_statistics_query() |
A |
41 |
10 |
58 |
get_most_viewed_posts() |
A |
46 |
7 |
40 |
get_lookup_table_name_by_id() |
S |
52 |
6 |
23 |
get_lookup_table_id() |
S |
53 |
5 |
20 |
get_post_views() |
S |
55 |
4 |
20 |
__construct() |
S |
46 |
1 |
48 |
validate_group_by() |
S |
78 |
2 |
3 |
validate_order_by() |
S |
78 |
2 |
3 |
exclude_bounces() |
S |
70 |
2 |
6 |
use_lookup_tables() |
S |
71 |
2 |
6 |
get_metric_labels() |
S |
62 |
1 |
11 |
get_device_name_by_id() |
S |
79 |
1 |
3 |